using System;
using System.Runtime.Serialization;
namespace eTMS.DAO{
	/********************************BEGIN PhongThiEntity****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:26/10/2011 44:05:56</para>
	/// <para>Class Name: PhongThiEntity</para>
	/// <para>Description: ClassPhongThiEntity store data of table PhongThi</para>
	///</summary>

	[DataContract]
	public partial class PhongThiEntity{


		private bool _InternalChangedIsNullPhongThi_ID=true;
		private bool _IsNullPhongThi_ID=true;
		private bool _InternalChangedIsNullMaPhongThi=true;
		private bool _IsNullMaPhongThi=true;
		private bool _InternalChangedIsNullMonThi_ID=true;
		private bool _IsNullMonThi_ID=true;
		private int _PhongThi_ID;
		private string _MaPhongThi;
		private int _MonThi_ID;
		[DataMember]
		public bool IsNullPhongThi_ID{
			get{return _IsNullPhongThi_ID;}
			set{if(!_InternalChangedIsNullPhongThi_ID)_IsNullPhongThi_ID=value;}
		}
		[DataMember]
		public bool IsNullMaPhongThi{
			get{return _IsNullMaPhongThi;}
			set{if(!_InternalChangedIsNullMaPhongThi)_IsNullMaPhongThi=value;}
		}
		[DataMember]
		public bool IsNullMonThi_ID{
			get{return _IsNullMonThi_ID;}
			set{if(!_InternalChangedIsNullMonThi_ID)_IsNullMonThi_ID=value;}
		}
		[DataMember]
		public int PhongThi_ID{
			get{return _PhongThi_ID;}
			set{
				_PhongThi_ID=value;
				if(_PhongThi_ID!=null){
					_IsNullPhongThi_ID=false;
					_InternalChangedIsNullPhongThi_ID=true;
				}
			}
		}
		[DataMember]
		public string MaPhongThi{
			get{return _MaPhongThi;}
			set{
				_MaPhongThi=value;
				if(_MaPhongThi!=null){
					_IsNullMaPhongThi=false;
					_InternalChangedIsNullMaPhongThi=true;
				}
			}
		}
		[DataMember]
		public int MonThi_ID{
			get{return _MonThi_ID;}
			set{
				_MonThi_ID=value;
				if(_MonThi_ID!=null){
					_IsNullMonThi_ID=false;
					_InternalChangedIsNullMonThi_ID=true;
				}
			}
		}
	}
	/*****************************************************************************************************/
	/**********************************END PhongThiEntityBase*****************************************/
	/*****************************************************************************************************/
}

